package com.kfm.pm;

public class StringBufferExample {
    public static void main(String[] args) {

        StringBuffer sb = new StringBuffer();

        StringBuffer sb1 = new StringBuffer("hello");

        sb1.append("world");
//        sb1.insert(2, '6');
        System.out.println(sb1);
        System.out.println(sb1.reverse());
        System.out.println(sb1.length());
        System.out.println(sb1.delete(0, 1));
        String s1 = "hello";
        s1 += "world";


    }
}
